<template>
  <div id="nav">
    <router-link to="/films">
      <i class="iconfont icon-dianying"></i><span>电影</span>
    </router-link>
    <router-link to="/article">
      <i class="iconfont icon-24"></i><span>文章</span>
    </router-link>
    <router-link to="/center">
      <i class="iconfont icon-icon03"></i><span>个人中心</span>
    </router-link>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.router-link-active {
  color: #ff6700 !important;
}
#nav a {
  font-size: 30px;
}
#nav {
  display: flex;
  height: 80px;
  width: 10rem;
  border: 1px solid #333;
  background-color: white;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
#nav i {
  font-size: 30px;
}
</style>